/*
 * @Author: Carrix 
 * @Date: 2020-06-09 18:22:13 
 * @Last Modified by: Carrix
 * @Last Modified time: 2020-06-09 18:24:21
 */
const crypto = require('crypto')
module.exports = (str) => {
  const hmac = ctypto.createHmac('sha512','sdfdsfjdslk12321')
  hmac.update(str)
  return hmac.digest('hex')
}